#ifndef POPEYEFACE_H
#define POPEYEFACE_H

#include "Sprite.h"
#include "Popeye.h"

class PopeyeFace : public Sprite {
public:
	PopeyeFace(Dim x, Dim y, AnimationFilm *film): 
	  Sprite(x, y, film) {};
	  void checkMode(Popeye *p) {
		  if(p->getMode() == spinach)
			SetFrame(frameNo = 1);
		  else
			SetFrame(frameNo = 0);
	  }
};

#endif